﻿@model MobileTrack.Web.ViewModels.ChangePasswordViewModel
@{
    this.ViewBag.Title = "Ribeiro | MobileTrack | Cambiar Contraseña";
}
<h2>
    Cambiar Contraseña</h2>

<p class="message-info">
    La contraseña debe tener por lo menos @Membership.MinRequiredPasswordLength caracteres de longitud.
</p>
@using (this.Html.BeginForm())
{
    @Html.ValidationSummary()

    <fieldset>
        <legend>Cambiar contraseña</legend>
        <ol>
            <li>
                @this.Html.LabelFor(m => m.OldPassword)
                @this.Html.PasswordFor(m => m.OldPassword)
            </li>
            <li>
                @this.Html.LabelFor(m => m.NewPassword)
                @this.Html.PasswordFor(m => m.NewPassword)
            </li>
            <li>
                @this.Html.LabelFor(m => m.ConfirmPassword)
                @this.Html.PasswordFor(m => m.ConfirmPassword)
            </li>
        </ol>
        <input type="submit" value="Cambiar contraseña" />
    </fieldset>
}
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
